<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="http://g.tbcdn.cn/mtb/lib-flexible/0.4.1/??flexible_css.js,flexible.js"></script>
</head>
<body>
    <script>
        /* css能够布局的width */
        var layoutWidth=window.innerWidth
        var deviceWidth=window.screen.width
        var dpr=window.devicePixelRatio
        console.log(deviceWidth)
        console.log(layoutWidth)
        console.log(dpr)
    </script>
</body>
</html>